//
//  ToastView.h
//  youtx
//
//  Created by Zan Yunfei on 13-9-5.
//
//

#import <Foundation/Foundation.h>

typedef void(^CallbackBlock)(NSString *result);

@interface ToastView : NSObject
{
    UIImageView * toastView;
}
@property (nonatomic,retain) UIImageView * toastView;
@property (nonatomic,strong) CallbackBlock callblock;
+ (void)showToastViewWithContent:(NSString *)content andRect:(CGRect)rect andTime:(float)time andObject:(UIViewController *)selfController;
+ (void)showToastViewWithContent:(NSString *)content andRect:(CGRect)rect andTime:(float)time andObject:(UIViewController *)selfController andHightNoLimited:(BOOL)limited;
+ (void)removeToastView:(id)sender;
+ (void)showToastAndActivitViewWithContent:(NSString *)content andRect:(CGRect)rect andTime:(float)time andObject:(UIViewController *)selfController CallbackBlock:(CallbackBlock)resultstr;
+ (void)showToastAndActivitViewWithContent:(NSString *)content andRect:(CGRect)rect andObject:(UIViewController *)selfController;
//+ (CallbackBlock)callback;
@end
